<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Hello World!</title>
</head>
<body>

<#-- list 数据的展示 -->
<b>展示list中的stu数据:</b>
<br>
<br>
<table>
    <tr>
        <td>序号</td>
        <td>姓名</td>
        <td>年龄</td>
        <td>钱包</td>
    </tr>

    <#list 学生 as student>
        <tr>
            <td>${student_index + 1}</td>
            <td>${student.name}</td>
            <td>${student.age}</td>
            <td>${student.money}</td>
        </tr>
    </#list>

</table>
<hr>

<a href="###">遍历map中两个学生信息：</a><br/>
<table>
    <tr>
        <td>序号</td>
        <td>姓名</td>
        <td>年龄</td>
        <td>钱包</td>
    </tr>
    <#list map?keys as key>
        <tr>
            <td>${key_index + 1}</td>
            <td>${map[key].name}</td>
            <td>${map[key].age}</td>
            <td>${map[key].money}</td>
        </tr>
    </#list>
</table>
<hr>
</body>
</html>